home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
v cisle
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Script Debuger.sd
< prev
next >
Wrap
INI File
|
2004-06-28
|
792b
|
42 lines
[SUBJECT]
Description=Reports to you JavaScript errors as they happen in a box on the screen
ImageIndex=-1
Folder=Tools
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- Begin
;function reportError(msg,url,line) {
;var str = "Err: " + msg + " on line: "
;+ line + "\nURL: " + url + "\nWeb: "
;+ navigator.appName + " " + navigator.appName
;+ " " + navigator.appVersion;
;document.errform.error.value = str;
;return true;
;}
;window.onerror = reportError;
;// End -->
;</script>
;
[BODY_TEXT]
;<form name="err">
;<input type="button" value="Cause JS Error" onClick="brokenScript()">
;</form><p>
;<form name="errform">
;<textarea name="error" rows="`rows`" cols="`cols`"></textarea>
;</form>
;
[`rows`]
Kind=S
Value=5
[`cols`]
Kind=S
Value=70